package fuse.LaCollaFS.Metadades;

import java.util.Calendar;

import org.jdom.Element;

import fuse.FuseStat;

public class Enllas extends Estructura {
	private Estructura Original;

	public Enllas(String path, MetaDades apim) {
		this.setNom(path);
		this.defEnllas();

	} 

	public void setOriginal(Estructura i) {
		Original = i;
		p("nom from" + i);
		Calendar c1 = Calendar.getInstance();
		FuseStat s;
		s = i.getStat();
		s.mtime = (int) c1.getTimeInMillis();
		this.setStat(s);
	}

	public Estructura getOriginal() {

		return Original;
	}

	public void LlegirXML(Element node) {
		// TODO Auto-generated method stub

	}
	private void p(Object o) {
		System.out.println(o); // TODO Auto-generated method stub

	}

}
